#Makefile for ISBA soil model source files

include ../../mkfls_profs/Makefile.in
#include ./MakefileCheb.in
#include ./MakefileCheb_precise.in
#include MakefileBG.in

objfiles = \
 \
 $(objfile_path)/inmsoil_init_sub.o \
 $(objfile_path)/inmsoil_nh3d_interface_sub.o \
 $(objfile_path)/read_ecoclimap_sub.o

 all : $(objfiles)

# Compiling source files
 $(objfile_path)/%.o : %.f90 
	$(f90comp) $(opt_keys) $(check_keys) $(include_keys) $(formfree_key) $(keys) $< -o $@

# $(objfile_path)/%.o : %.fi
#	$(f90comp) $(opt_keys) $(check_keys) $(include_keys) $(formfixed_key) $(keys) $< -o $@


# Cleaning *.o and *.mod files
 clean : 
	rm -f $(objfiles)
